package com.ssm.service;

import com.ssm.domain.Permission;

import java.util.List;

/**
 * 权限业务接口
 */
public interface IPermissionService {

    void save(Permission permission) throws Exception;

    List<Permission> findAll(Integer page, Integer size) throws Exception;

    Permission findById(String id) throws Exception;

    void deletePermissionById(String id) throws Exception;
}
